home *** CD-ROM | disk | FTP | other *** search
/ American Osteopathic Ass…tion Yearbook 2005 & 2006 / American Osteopathic Association Yearbook 2005 & 2006.iso / pc / server / webapps / __init__.py next >
Encoding:
Text File  |  2004-01-26  |  1.2 KB  |  47 lines

  1. # virtual host configuration
  2.  
  3.  
  4. #
  5. #    FIRST USE NOTICE:
  6. #    YOU HAVE TO CONFIGURE THIS FILE FOR YOUR OWN SYSTEM;
  7. #    CHANGE vhostname TO THE CORRECT HOSTNAME THAT MUST BE USED.
  8. #    (OR CONFIGURE IT TO YOUR OWN WISHES OFCOURSE)
  9. #
  10. #    THEN, ENABLE IT BY SETTING THE FLAG BELOW TO True.
  11. #
  12.  
  13. ENABLED = False
  14.  
  15.  
  16. # virtualhosts is a mapping of host names to a sequence of
  17. # web application names that will be connected to the specified hostname. 
  18. # If a web application is not mentioned for any virtual host,
  19. # it will NOT be loaded. A web app may be connected to multiple vhosts.
  20.  
  21. virtualhosts = {
  22.     "vhostname" : ("account", "manage", "music", "shop", "test")
  23. }
  24.  
  25.  
  26. # webroots is a mapping of host names to the name of the web app
  27. # that will be mapped in the URL root ( '/' ) of the server on
  28. # that virtual host. The host names MUST correspond to the host names
  29. # from the virtualhosts mapping above.
  30.  
  31. webroots = {
  32.     "vhostname" : "ROOT"
  33. }
  34.  
  35. # aliases is a mapping of vhost-alias name to real-vhost name.
  36. # (this avoids duplicate loading of webapps)
  37.  
  38. aliases= {}
  39.  
  40. # defaultvhost is the name of the default virtual host
  41. # (specified above) that will be used when the browser
  42. # doesn't send a Host header.
  43.  
  44.  
  45. defaultvhost = "vhostname"
  46.  
  47.